﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MobileWeb.Controllers
{
    public class DetaljiController : Controller
    {
        //
        // GET: /Stan/
        public ActionResult Stan(string id)
        {
            ViewBag.Code = id + ".png";
            ViewBag.Pdf = id + ".pdf";
            ViewBag.Title = "Stan " + id;
            return View();
        }

        //
        // GET: /Tlocrt/
        public ActionResult Tlocrt(string id)
        {
            ViewBag.ImgUrl = "http://www.ban-centar.hr/Content/Images/Layout/" + id;
            return View("Slika");
        }

        //
        // GET: /TopView/
        public ActionResult TopView(string id)
        {
            ViewBag.ImgUrl = "http://www.ban-centar.hr/Content/Images/TopView/" + id;
            return View("Slika");
        }

        //
        // GET: /Tablica/
        public ActionResult Tablica(string id)
        {
            ViewBag.ImgUrl = "http://www.ban-centar.hr/Content/Images/Table/" + id;
            return View("Slika");
        }

    }

}
